﻿<%@ Page Title="全部关键字" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="KeywordsIndex.aspx.cs" Inherits="RegexLib.Web.Views.Keywords.KeywordsIndex" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftBar1ContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="box">
	<div class="bt">全部关键字</div>
	<div class="bc">
<% RxKeywords.KeywordRankWithLevel[] allKeywords = (RxKeywords.KeywordRankWithLevel[])ViewData["AllKeywords"]; %>
<% for(int i = 0; i < allKeywords.Length; i++) %>
<% { %>
	<% var k = allKeywords[i]; %>
	<span class='<%= string.Format("k_{0}", k.RankLevel) %>'>
		<a href='<%= RxUrl.GetViewKeywordUrl(k.KeywordRank.Text) %>'><%= HttpUtility.HtmlEncode(k.KeywordRank.Text) %></a>
	</span>
	<% if (i < allKeywords.Length - 1) %>
	<% { %>
		|
	<% } %>
<% } %>
		<div class="ad-c"><%= RxAdsUtility.GetAdsCode("inpage") %></div>
	</div>
</div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ScriptPlaceHolder" runat="server">
</asp:Content>
